import com.jly.mapper.UserMapper;
import com.jly.mapper.impl.UserMapperImpl;
import com.jly.po.User;
import org.junit.Test;

import java.io.IOException;
import java.util.List;

public class testTraditionDao {


    /**
     * 测试传统dao
     * @throws IOException
     */
    @Test
    public void testTraditionDao() throws IOException {

        UserMapper userMapper = new UserMapperImpl();
        List<User> userList = userMapper.findAll();
        System.out.println(userList);

    }
}
